UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SMTP services SMTP greeting must not provide version information.


Overview

Finding ID Version Rule ID IA Controls Severity
V-4384 GEN004560 SV-46278r1_rule ECSC-1 Low
Description
The version of the SMTP service can be used by attackers to plan an attack based on vulnerabilities present in the specific version.
STIG Date
SUSE Linux Enterprise Server v11 for System z 2012-12-13

Details

Check Text ( C-36163r1_chk )
To check for the version of either sendmail or Postfix being displayed in the greeting:

# telnet localhost 25

If a version number is displayed, this is a finding.

Fix Text (F-31414r1_fix)
Ensure sendmail or Postfix has been configured to mask the version information.

Procedure
for sendmail:
Change the O SmtpGreetingMessage line in the /etc/mail/sendmail.cf file as noted below:
O SmtpGreetingMessage=$j Sendmail $v/$Z; $b
change it to:
O SmtpGreetingMessage= Mail Server Ready ; $b

for Postfix:
Examine the "smtpd_banner" line of /etc/postfix/main.conf and remove any "$mail_version" entry on it or comment the entire "smtpd_banner" line to use the default value which does not display the version information.